﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="record.aspx.cs" Inherits="AnyOffice.general.meeting.manage.record" %>

<%@ Register TagPrefix="fckeditorv2" Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2" %>
<HTML>
	<HEAD>
		<title>会议纪要</title>
		
		<script src="/aspnet_client/core/function.js"></script>
		<script Language="JavaScript">		
		function CheckForm()
		{
			if (document.Form1.ToId.value=="")
			{
				alert("指定读者不能为空！");				
				return (false);
			}
			   
			var oEditor = FCKeditorAPI.GetInstance('txtContent');
			if(oEditor.GetHTML() == "")  
			{
				alert("纪要内容不能为空！");
				return (false);
			}
			return true;
		}

		function CheckFile()
		{
			if (document.Form1.fileAttach.value=="")
			{
				alert("请选择附件！");
				return (false);
			}   
			return true;	
		}		
		</script>
	</HEAD>
	<BODY class="bodycolor" topMargin="5">
		<form id="Form1" method="post" runat="server">
         <div class="main_div">
			<asp:Panel id="pnlMain" runat="server">
				<TABLE class="small" cellSpacing="0" cellPadding="3" width="100%" border="0">
					<TR>
						<TD class="Big"><IMG src="/images/notify_new.gif" align="absMiddle"><SPAN class="big3"> 会议纪要（<asp:Literal id="litName" runat="server"></asp:Literal>）</SPAN>
							</TD>
					</TR>
				</TABLE>
				<BR>
				<TABLE width="100%" cellSpacing="0" cellPadding="0" border="0" class="tab_pub" align="center">
					<TR>
						<TD class="TableContent" noWrap>指定读者：</TD>
						<TD class="TableData">
							<asp:TextBox id="ToName" runat="server" ReadOnly="True" Columns="45" CssClass="BigStatic" Rows="3"
								TextMode="MultiLine"></asp:TextBox>
								<INPUT class="SmallButton" title="添加收件人" onClick="user_select('ToId','ToName')" type="button"
								value="添 加" name="button"> <INPUT class="SmallButton" title="清空收件人" onClick="clear_double('ToId','ToName')" type="button"
								value="清 空" name="button"> <INPUT id="ToId" type="hidden" name="ToId" runat="server">
						</TD>
						</TD></TR>
					<TR>
						<TD class="TableContent" noWrap>附件：</TD>
						<TD class="TableData">
							<asp:Panel id="pnlAttach" runat="server" Visible="False">
								<asp:ListBox id="ltbFileList" runat="server" Rows="1"></asp:ListBox>
								<asp:button id="btnRemoveFile" runat="server" CssClass="SmallButton" Text="删除" onclick="btnRemoveFile_Click"></asp:button>
							</asp:Panel></TD>
					</TR>
					<TR>
						<TD class="TableContent" noWrap>附件上传：</TD>
						<TD class="TableData"><INPUT class="SmallInput" id="fileAttach" type="file" size="26" name="fileAttach" runat="server">
							<asp:button id="btnAddFile" runat="server" CssClass="SmallButton" Text="添加" onclick="btnAddFile_Click"></asp:button></TD>
					</TR>
					<TR>
						<TD class="TableContent" noWrap>纪要内容：</TD>
						<TD class="TableData">
							<FCKeditorV2:FCKeditor id="txtContent" runat="server" ToolbarSet="Basic" Height="300px" Width="100%"></FCKeditorV2:FCKeditor>
						</TD>
					</TR>
					<TR class="TableControl">
						<TD align="center" colSpan="2">
							<asp:Button id="btnSubmit" runat="server" CssClass="BigButton" Text="保存" onclick="btnSubmit_Click"></asp:Button>&nbsp;&nbsp;&nbsp;&nbsp;
							<INPUT class="BigButton" onClick="window.close()" type="button" value="关闭">
						</TD>
					</TR>
				</TABLE>
			</asp:Panel>
			<asp:Literal id="litMessage" runat="server"></asp:Literal>
            </div>
		</form>
	</BODY>
</HTML>
